﻿using mozhi.smarterp.Business.Enums;
using System;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace mozhi.smarterp.Business.Sales.Deliveries
{
    public interface ISaleDeliveryAppService : IApplicationService
    {
        Task<SaleDeliveryDto> GetAsync(Guid id);

        Task<SaleDeliveryDto> CreateAsync(SaleDeliveryCreateDto input);

        Task<SaleDeliveryDto> UpdateAsync(SaleDeliveryUpdateDto input);

        Task<SaleDeliveryDto> UpdateStatusAsync(Guid id, DocumentStatusType status);

        Task<PagedResultDto<SaleDeliveryDto>> GetListAsync(SaleDeliveryPagedResultRequestDto filter);

        Task DeleteAsync(Guid id);
    }
}
